package com.jichangxiu.framework.service.impl;

import cn.hutool.json.JSONUtil;
import com.jichangxiu.common.entity.bo.JcxContextEntity;
import com.jichangxiu.common.entity.rule.LogRule;
import com.jichangxiu.framework.service.LogRuleService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DefaultLogRuleServiceImpl implements LogRuleService {

    @Override
    public void saveLogRule(JcxContextEntity jcxContextEntity, LogRule logRule) {
        log.debug("---------------------------------------【请求日志】---------------------------------------");
        log.debug(JSONUtil.toJsonStr(logRule));
        log.debug("----------------------------------------------------------------------------------------");
    }

}
